package com.deep.deepenterpise.model.to.unit;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author xyz
 * @version 1.0
 * @title DrDangerHistoryTo
 * @description
 * @create 2024/6/23 08:40
 */
@Data
public class DrDangerHistoryTo {
    @NotBlank(message = "安检订单号不能为空")
    public String drOrderNum;
    @NotNull(message = "检查用户不能为空")
    private Integer drMemberId;

    private String drMemberName;
    private String drMemberPhone;
    private String drMemberAddress;

    @NotBlank(message = "用户电子签名不能为空")
    private String drDangerSign;
    @NotNull(message = "检查内容不能为空")
    private DrContentTo drContent;
    @NotNull(message = "是否有隐患不能为空")
    private Integer drIsSafe;
    private String drRemark;
}
